const TokenKey = 'App-Token'

export function getToken() {
	return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
	return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
	return uni.removeStorageSync(TokenKey)
}


const UserInfo = 'UserInfo'

export function getUserInfo() {
	return uni.getStorageSync(UserInfo)
}

export function setUserInfo(info) {
	return uni.setStorageSync(UserInfo, info)
}

export function removeUserInfo() {
	return uni.removeStorageSync(UserInfo)
}